<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>圆形图片</title>
		<style>
			#user{
				border: 1px solid;/*调试,让大家看见div*/
				width: 250px;
				height: 250px;
				/*设置背景图片./代表当前目录,可以省略*/
				background-image: url(images/58598.png);
				/*圆形*/
				border-radius: 150px;
				img{
					border: 1px solid;
					width: 500px;
					height: 500px;
					border-radius: 150px;
				}
			}
		</style>
	</head>
	<body>
		<h3>利用CSS3对div进行圆角，最终实现圆</h3>
		<div id="user"></div>
		<img class="img1" src="images/1155.jpg" />
	</body>
</html>
